import { post } from "../../util/http"

/**
 * 新增
 * @param  params 
 */
export const InsertHandle = params => post(`/org/insert`, params)

/**
 * 更新
 * @param  params 
 */
export const UpdateHandle = params => post(`/org/update`, params)

/**
 * 获取本机及下级单位编码
 * @param  params 
 */
export const GetSubOrgs = params => post(`/org/getSubOrgs`, params)


/**
 * 分页列表
 * @param  params 
 */
export const SelectPage = params => post(`/org/selectPage`, params)

/**
 * 列表
 * @param  params 
 */
export const SelectList = params => post(`/org/selectList`, params)

/**
 * 删除
 * @param  params 
 */
export const DeleteHandle = params => post(`/org/delete`, params)